// 登录表单数据
export interface LoginFormInt {
  user: string,
  pass: string,
}

// 请求数据
export interface requestType {
  url: string
  params?: any
}

// pinia userStore数据
// export interface Route{
//   name: string
//   children?: Array<any>
// }
// export interface MyStoreState {
//   permissionList: Route[],
//   sidebarMenu: Route[],
//   currentMenu: string,
//   num: number
// }

// 路由
import { RouteRecordRaw } from "vue-router";
interface RouteMeta {
  title?: string;
  requiresAuth?: boolean;
}

export interface AppRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> { 
  meta?: RouteMeta; 
  props?: any; fullPath?: string; 
  // children?: AppRouteRecordRaw[] | undefined; 
}